package com.gegao.prototype;

/**
 * Created by zhangzhanzhong on 2015/12/30.
 */
public class Main {

    public static void main(String[] args) {
        try {
            Resume resume = new Resume("大鸟");
            resume.setPersonalInfo("男", "26");
            resume.setWorkExperience("1999-2004", "腾讯");

            Resume resume2 = (Resume) resume.clone();
            resume2.setWorkExperience("2004-2008", "阿里巴巴");

            Resume resume3 = (Resume) resume.clone();
            resume3.setWorkExperience("2008-2014", "百度");

            resume.display();
            resume2.display();
            resume3.display();
        } catch (CloneNotSupportedException e) {
            e.printStackTrace();
        }

    }
}
